/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.tintuna.cca.dao;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.tintuna.cca.data.Row;

/**
 *
 * @author bsmith
 */
public class NABSpreadsheetReader implements TestSpreadsheetReader {

    @Override
    public List<String> getHeaderList() {
        List<String> header = new ArrayList();
        header.add("Date");
        header.add("Amount");
        header.add("TransactionType");
        header.add("Merchant");
        header.add("Balance");
        return header;
    }

    @Override
    public List<Row> getRows() {
        List<Row> rows = new ArrayList();
        rows.add(new Row(new Date(), new Double(54.50), new String("CREDIT CARD PURCHASE"), new String("CHARLIES SALA THAI R     TUGGERANONG"), new Double(-4444.66), new String("New Category")));
        rows.add(new Row(new Date(), new Double(-178.8), new String("CREDIT CARD PURCHASE"), new String("WOOLWORTHS 1161          WESTON CREEK"), new Double(-4390.16), new String("New Category")));
        rows.add(new Row(new Date(), new Double(-69.83), new String("CREDIT CARD PURCHASE"), new String("COLES EXPR  WANNIASSA    ACT"), new Double(-4211.36), new String("New Category")));
        return rows;
    }

}
